namespace Home {
    class Header {
        constructor() {
            const elem = document.createElement('div')
            elem.innerHTML = 'This is Header'
            document.body.appendChild(elem)
        }
    }

    class Content {
        constructor() {
            const elem = document.createElement('div')
            elem.innerHTML = 'This is Content'
            document.body.appendChild(elem)
        }
    }

    class Footer {
        constructor() {
            const elem = document.createElement('div')
            elem.innerHTML = 'This is Footer'
            document.body.appendChild(elem)
        }
    }
    
    export class Page {
        constructor() {
            new Header();
            new Content();
            new Footer();
        }
    }
}
